﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BlogElements.Models
{
    public class Post
    {
        public int PostId { get; set; }
        public string Title { get; set; }

        [DataType(DataType.MultilineText)]
        public string Description { get; set; }

        [DataType(DataType.MultilineText)]
        public string Body { get; set; }

        public DateTime DateCreated { get; set; }

        public List<Tag> Tags { get; set; }
        public List<PostTag> PostTags { get; set; } 
    }
}